<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/x-icon" href="https://img61.ddimg.cn/upload_img/00555/touch/touch-icon-ipad.png">
    <link rel="stylesheet" href="css/books-1.css">
    <link rel="stylesheet" href="font/font1/iconfont.css">
    <link rel="stylesheet" href="css/swiper-3.4.2.min.css">
    <title>当当书城</title>
</head>

<body>
    <!-- 顶部导航 -->
    <div class="header">
        <div>
            <a id="return">
                <i class="icon-zuosanjiao"></i>
            </a>
            <p>当当书城</p>
            <a class="menu" onclick="menuShow()"></a>
        </div>
        <ul class="menu-hide">
            <li>
                <a href="">
                    <i class="icon-shouye-"></i>
                    <p>首页</p>
                </a>
            </li>
            <li>
                <a href="">
                    <i class="icon-search-category"></i>
                    <p>分类</p>
                </a>
            </li>
            <li>
                <a href="">
                    <img src="https://z.dangdang.com/static/img/ic_buy_1@2x.5893e48.png" alt="">
                    <p>值得买</p>
                </a>
            </li>
            <li>
                <a href="">
                    <i class="icon-cart"></i>
                    <p>购物车</p>
                </a>
            </li>
            <li>
                <a href="">
                    <i class="icon-My"></i>
                    <p>我的当当</p>
                </a>
            </li>
        </ul>
    </div>
    <!-- 顶部搜索 -->
    <div class="searchTop">
        <a href="">朝花夕拾</a>
    </div>
    <!-- 图片轮播 -->
    <div class="swiperImg">
        <div class="swiper-container swiper-container1">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <img src="https://img60.ddimg.cn/2024/8/22/2024082219365949649.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="https://img60.ddimg.cn/2024/8/29/2024082920100922060.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="https://img63.ddimg.cn/2024/8/20/2024082014092429033.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="https://img62.ddimg.cn/2024/8/29/2024082921083822795.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="https://img63.ddimg.cn/2023/9/25/202309251031339632.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="https://img61.ddimg.cn/2024/5/13/2024051317205495733.jpg" alt="">
                </div>
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination"></div>
        </div>
    </div>
    <!-- 分类导航 -->
    <ul class="navClassify">
        <li>
            <a href="">
                <img src="https://img63.ddimg.cn/upload_img/00803/1/1zongbang-1581651177.jpg" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img61.ddimg.cn/upload_img/00796/1/3tongshubang-1581652370.jpg" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img61.ddimg.cn/upload_img/00803/1/2xinshubang-1581652204.jpg" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img61.ddimg.cn/upload_img/00767/a/jioafu-1705541719.png" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img63.ddimg.cn/2024/5/13/2024051315295438485.png" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img63.ddimg.cn/2023/7/28/2023072816443121928.jpg" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img61.ddimg.cn/upload_img/00767/a/xiaoshuo-1705541428.png" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img60.ddimg.cn/upload_img/00796/1/teseshuguan-1611545631.png" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img61.ddimg.cn/2022/8/5/2022080510485146563.jpg" alt="">
            </a>
        </li>
        <li>
            <a href="">
                <img src="https://img60.ddimg.cn/2024/9/3/202409031414397181.png" alt="">
            </a>
        </li>
    </ul>
    <!-- 文字导航 -->
    <ul class="navText">
        <li>
            <a href="">书单广场</a>
        </li>
        <li>
            <a href="">9月新书</a>
        </li>
        <li>
            <a href="">影视原著书</a>
            <span></span>
        </li>
        <li>
            <a href="">童书新书</a>
        </li>
        <li>
            <a href="">茅盾文学奖</a>
            <span></span>
        </li>
    </ul>
    <!-- 当当出版 -->
    <div class="list1">
        <img class="title-img" src="https://img62.ddimg.cn/2023/11/20/202311201725526156.png" alt="">
        <img src="https://img56.ddimg.cn/9001320435104876.jpg" alt="">
    </div>
    <!-- 新书上架 -->
    <div class="list2">
        <img src="https://img62.ddimg.cn/2023/11/20/2023112017262926678.png" alt="">
        <div class="box">
            <div class="swiper-container swiper-container2">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                </div>
            </div>
        </div>
        <div class="box"></div>
        <div class="swiper-container swiper-container3">
            <div class="swiper-wrapper">
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
                <div class="swiper-slide"></div>
            </div>
        </div>
    </div>
    <!-- 独家特供 -->
    <div class="list3">
        <img src="https://img61.ddimg.cn/2023/11/20/2023112017255210244.png" alt="">
        <div class="box">
            <div class="swiper-container swiper-container4">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                </div>
            </div>
        </div>
        <div class="box">
            <div class="swiper-container swiper-container5">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                </div>
            </div>
        </div>
    </div>
    <!-- 主编推荐 -->
    <div class="list4">
        <img src="https://img61.ddimg.cn/2023/11/20/2023112017255252684.png" alt="">
        <div class="box">
            <div class="swiper-container swiper-container6">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                </div>
            </div>
        </div>
        <div class="box">
            <div class="swiper-container swiper-container7">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                    <div class="swiper-slide"></div>
                </div>
            </div>
        </div>
    </div>
    <!-- 榜单好书 -->
    <div class="list5">
        <img src="https://img63.ddimg.cn/2023/11/20/2023112017262922536.png" alt="">
        <div class="swiper-container swiper-container8">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <span class="select">畅销榜</span>
                </div>
                <div class="swiper-slide">
                    <span>新书榜</span>
                </div>
                <div class="swiper-slide">
                    <span>童书榜</span>
                </div>
                <div class="swiper-slide">
                    <span>小说榜</span>
                </div>
                <div class="swiper-slide">
                    <span>文学榜</span>
                </div>
                <div class="swiper-slide">
                    <span>青春榜</span>
                </div>
                <div class="swiper-slide">
                    <span>励志榜</span>
                </div>
                <div class="swiper-slide">
                    <span>中小学用书榜</span>
                </div>
                <div class="swiper-slide">
                    <span>历史榜</span>
                </div>
                <div class="swiper-slide">
                    <span>艺术榜</span>
                </div>
                <div class="swiper-slide">
                    <span>亲子家教榜</span>
                </div>
                <div class="swiper-slide">
                    <span>管理榜</span>
                </div>
                <div class="swiper-slide">
                    <span>科普榜</span>
                </div>
            </div>
        </div>
        <div class="bottom">
            <a href="">查看更多</a>
        </div>
    </div>
    <!-- 底部提示 -->
    <div class="list6">
        <div>
            <img src="http://img60.ddimg.cn/upload_img/00610/new_index/icon_smile.png" alt="">
            <span>到底了，再拉裤子都掉啦</span>
        </div>
        <span class="henxian"></span>
    </div>
    <!-- 底部导航 -->
    <ul class="list7">
        <li>
            <a href="index-1.html">
                <img src="https://img61.ddimg.cn/upload_img/00658/feiyang11/1_shouye.png" alt="">
            </a>
        </li>
        <li>
            <a>
                <img src="https://img63.ddimg.cn/upload_img/00658/feiyang11/2_fenlei.png" alt="">
            </a>
        </li>
        <li>
            <a>
                <img src="https://img60.ddimg.cn/upload_img/00658/feiyang11/333dangdu-1565345764.png" alt="">
            </a>
        </li>
        <li>
            <a>
                <img src="https://img61.ddimg.cn/upload_img/00658/feiyang11/4_wodezuji.png" alt="">
            </a>
        </li>
        <li>
            <a>
                <img src="https://img60.ddimg.cn/upload_img/00658/feiyang11/5_wodedingdan.png" alt="">
            </a>
        </li>
    </ul>
</body>

<!-- 轮播 -->
<script src="js/swiper-3.4.2.min.js"></script>
<script>
    // 图片轮播效果
    var swiper = new Swiper('.swiper-container1', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        loop: true
    });
    // 列表滑动效果
    for (var i = 2; i <= 7; i++) {
        Swiper('.swiper-container' + i, {
            slidesPerView: 3.5,
            spaceBetween: 0,
            freeMode: true,
            freeModeMomentum: true,
            freeModeMomentumRatio: 0.5,
            freeModeMomentumBounce: true,
            freeModeMomentumBounceRatio: 0.5,
        })
    }
    //文字列表滑动效果
    Swiper('.swiper-container8', {
        slidesPerView: 4.5,
        spaceBetween: 0,
        freeMode: true,
        freeModeMomentum: true,
        freeModeMomentumRatio: 0.5,
        freeModeMomentumBounce: false,
    })
</script>

<!-- 根元素font-size -->
<script>
        // 可以控制页面在375px屏幕上边 html根元素font-size: 50px;
        (function (doc, win) {
            var docEL = document.documentElement,
                resizeEvt = "orientationchange" in window ? "orientationchange" : "resize",
                recalc = function () {
                    // 获取当前设备的宽度
                    var clientWidth = docEL.clientWidth;
                    if (!clientWidth) return;
                    docEL.style.fontSize = (clientWidth / 750) * 100 + "px";
                };
            if (!doc.addEventListener) return;
            //添加窗口变动监听
            win.addEventListener(resizeEvt, recalc, false);
            //dom加载的时候执行一次
            doc.addEventListener("DOMContentLoaded", recalc, false);
        })(document, window);
</script>

<!-- 返回上一个页面 -->
<script>
    var retur = document.querySelector('#return')
    retur.onclick = function () {
        window.history.go(-1)
    }
</script>

<!-- 首页导航显示/隐藏 -->
<script>
    var menu = document.querySelector('.menu')
    var menuH = document.querySelector('.menu-hide')
    function menuShow() {
        menu.classList.toggle('on')
        console.log(menu)
        menuH.classList.toggle('show')
    }
</script>

<!-- 所有列表内容渲染 -->
<script>
    // 新书上架1
    var date1 = [
        {
            "product_id": "29771456",
            "link_url": "http://product.m.dangdang.com/29771456.html?t=1725931450",
            "img_url": "https://img3m6.ddimg.cn/77/35/29771456-1_h_1725853909.jpg",
            "product_name": "【飞机盒发货】这里是中国3（当当专享月历卡版）典藏级国民地理书这里是中国系列第3部 铺开数千年华夏文明璀璨长卷 地理历史中华文明良渚三星堆 中信出版 当当网正版书籍",
            "original_price": "198.00",
            "sale_price": "149",
            "spuId": "12100014830",
            "skuId": "29771456",
            "is_catalog_product": "",
            "main_product_id": "12100014830",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29763382",
            "link_url": "http://product.m.dangdang.com/29763382.html?t=1725931450",
            "img_url": "https://img3m2.ddimg.cn/22/27/29763382-1_h_1723084811.jpg",
            "product_name": "人类简史:历史的主宰（当当限量印签+“胖狗”帆布袋）（尤瓦尔·赫拉利全新知识漫画作品！带你掌握顶级历史思维，在已知中看见未知。）",
            "original_price": "59.80",
            "sale_price": "39.80",
            "spuId": "0",
            "skuId": "29763382",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "59.80",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29772807",
            "link_url": "http://product.m.dangdang.com/29772807.html?t=1725931450",
            "img_url": "https://img3m7.ddimg.cn/42/17/29772807-1_h_1724652419.jpg",
            "product_name": "【亲笔签名版】叶锦添的艺术与人生（套装2册）：叶锦添自传（签名版）+叶锦添的创意美学（普通版）",
            "original_price": "258.00",
            "sale_price": "150",
            "spuId": "12100018679",
            "skuId": "29772807",
            "is_catalog_product": "",
            "main_product_id": "12100018679",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29767752",
            "link_url": "http://product.m.dangdang.com/29767752.html?t=1725931450",
            "img_url": "https://img3m2.ddimg.cn/36/31/29767752-1_h_1723598200.jpg",
            "product_name": "人设、流量与成交",
            "original_price": "59.80",
            "sale_price": "35.80",
            "spuId": "0",
            "skuId": "29767752",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "35.90",
            "product_tags": []
        },
        {
            "product_id": "29765294",
            "link_url": "http://product.m.dangdang.com/29765294.html?t=1725931450",
            "img_url": "https://img3m4.ddimg.cn/53/15/29765294-1_h_1725509029.jpg",
            "product_name": "你要去相信，没有到不了的明天（畅销百万，全新升级。逐字修订，增加全新章节。）",
            "original_price": "49.80",
            "sale_price": "47.30",
            "spuId": "0",
            "skuId": "29765294",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29763747",
            "link_url": "http://product.m.dangdang.com/29763747.html?t=1725931450",
            "img_url": "https://img3m7.ddimg.cn/90/22/29763747-1_h_1724148547.jpg",
            "product_name": "郭建龙密码三部曲（亲签版套装）全新再版《财政密码》《军事密码》《哲学密码》套装 《汴京之围》作者 政治军事题材 中信出版社图书",
            "original_price": "284.00",
            "sale_price": "189",
            "spuId": "12100015136",
            "skuId": "29763747",
            "is_catalog_product": "",
            "main_product_id": "12100015136",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29737459",
            "link_url": "http://product.m.dangdang.com/29737459.html?t=1725931450",
            "img_url": "https://img3m9.ddimg.cn/37/4/29737459-1_h_1720166250.jpg",
            "product_name": "身后无遗物（《闭经记》作者伊藤比吕美，一个人对抗孤独与衰老的生活战歌）",
            "original_price": "49.80",
            "sale_price": "29.90",
            "spuId": "0",
            "skuId": "29737459",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "39.99",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29765293",
            "link_url": "http://product.m.dangdang.com/29765293.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/52/14/29765293-1_h_1724833778.jpg",
            "product_name": "山海精怪美人图鉴（当当亲签版+透卡，“精怪美人”画师熙往志怪国风画集）",
            "original_price": "158.00",
            "sale_price": "108",
            "spuId": "0",
            "skuId": "29765293",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29751964",
            "link_url": "http://product.m.dangdang.com/29751964.html?t=1725931450",
            "img_url": "https://img3m4.ddimg.cn/88/5/29751964-1_h_1724660729.jpg",
            "product_name": "红楼梦中的饭局(当当专享钤印刷边版 数量有限售完即止) 1987版电视剧《红楼梦》编剧周岭 关于红楼美食作品 启笛丛书",
            "original_price": "98.00",
            "sale_price": "59.90",
            "spuId": "12100013211",
            "skuId": "29751964",
            "is_catalog_product": "",
            "main_product_id": "12100013211",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "1901354135",
            "link_url": "http://product.m.dangdang.com/1901354135.html?t=1725931450",
            "img_url": "https://img3m5.ddimg.cn/32/22/1901354135-1_h_1720578003.jpg",
            "product_name": "稳赢",
            "original_price": "68.00",
            "sale_price": "39.90",
            "spuId": "0",
            "skuId": "1901354135",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "49元5件",
                    "type": "1"
                }
            ]
        }
    ]
    // 新书上架2
    var date2 = [
        {
            "product_id": "29769931",
            "link_url": "http://product.m.dangdang.com/29769931.html?t=1725931450",
            "img_url": "https://img3m1.ddimg.cn/37/27/29769931-1_h_1725004173.jpg",
            "product_name": "大中华寻宝系列31 吉林寻宝记 礼盒版",
            "original_price": "118.80",
            "sale_price": "59",
            "spuId": "12100018161",
            "skuId": "29769931",
            "is_catalog_product": "",
            "main_product_id": "12100018161",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "410334994",
            "link_url": "http://product.m.dangdang.com/410334994.html?t=1725931450",
            "img_url": "https://img3m4.ddimg.cn/91/36/410334994-1_h_1724983590.jpg",
            "product_name": "儿童阅读力分级读物（套装共6册）",
            "original_price": "496.00",
            "sale_price": "248",
            "spuId": "12100018440",
            "skuId": "410334994",
            "is_catalog_product": "",
            "main_product_id": "12100018440",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29756879",
            "link_url": "http://product.m.dangdang.com/29756879.html?t=1725931450",
            "img_url": "https://img3m9.ddimg.cn/53/36/29756879-1_h_1725254492.jpg",
            "product_name": "皮皮和西西：挚爱小宝贝的手足成长记（欧洲爸妈钟爱20年的比利时国民级温情绘本）",
            "original_price": "300.00",
            "sale_price": "300",
            "spuId": "0",
            "skuId": "29756879",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29771204",
            "link_url": "http://product.m.dangdang.com/29771204.html?t=1725931450",
            "img_url": "https://img3m4.ddimg.cn/23/5/29771204-1_h_1724830719.jpg",
            "product_name": "米小圈快乐大语文1-12（全12册）",
            "original_price": "162.00",
            "sale_price": "149",
            "spuId": "12100018877",
            "skuId": "29771204",
            "is_catalog_product": "",
            "main_product_id": "12100018877",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29744183",
            "link_url": "http://product.m.dangdang.com/29744183.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/29/31/29744183-1_h_1721027140.jpg",
            "product_name": "吴姥姥不刷题.科学真好玩（第一辑，全3册，漫画源自生活中常见场景，涵盖“力学、光学和电磁学”等多个物理领域知识，跟着吴姥姥在轻松愉快的阅读中培养孩子的科学素养，脱离题海，不刷题也能学好知识）",
            "original_price": "198.00",
            "sale_price": "178.20",
            "spuId": "0",
            "skuId": "29744183",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29755795",
            "link_url": "http://product.m.dangdang.com/29755795.html?t=1725931450",
            "img_url": "https://img3m5.ddimg.cn/58/25/29755795-1_h_1722406438.jpg",
            "product_name": "此间鸟兽：文物里的中华文明（布面签名钤印刷金雕刻当当珍藏版）",
            "original_price": "198.00",
            "sale_price": "109",
            "spuId": "0",
            "skuId": "29755795",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29762152",
            "link_url": "http://product.m.dangdang.com/29762152.html?t=1725931450",
            "img_url": "https://img3m2.ddimg.cn/79/18/29762152-1_h_1723685198.jpg",
            "product_name": "看图秒懂孙子兵法 曹操总结批注 用72篇模型图解读详尽 图形精炼 轻松好读 提升认知 出奇制胜，易懂、易记、易用",
            "original_price": "68.00",
            "sale_price": "40.80",
            "spuId": "0",
            "skuId": "29762152",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29724548",
            "link_url": "http://product.m.dangdang.com/29724548.html?t=1725931450",
            "img_url": "https://img3m8.ddimg.cn/95/6/29724548-1_h_1721897769.jpg",
            "product_name": "奥特曼融合激战至臻图鉴 豪华套装 赠奥特曼PR卡2张（全两册）每册各附赠1张专属稀有融合激战卡牌！超千张卡牌信息，超两百张高清原画的臻选图鉴！卡牌收藏",
            "original_price": "98.00",
            "sale_price": "59.80",
            "spuId": "0",
            "skuId": "29724548",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29766023",
            "link_url": "http://product.m.dangdang.com/29766023.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/89/4/29766023-1_h_1723703688.jpg",
            "product_name": "回到山村开民宿",
            "original_price": "68.00",
            "sale_price": "34",
            "spuId": "0",
            "skuId": "29766023",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "1901355893",
            "link_url": "http://product.m.dangdang.com/1901355893.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/8/4/1901355893-1_h_1724659470.jpg",
            "product_name": "大国的命运:从政治危机到国家现代化",
            "original_price": "98.00",
            "sale_price": "58.80",
            "spuId": "0",
            "skuId": "1901355893",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "49元5件",
                    "type": "1"
                }
            ]
        }
    ]
    //独家特供1
    var date3 = [
        {
            "product_id": "29684302",
            "link_url": "http://product.m.dangdang.com/29684302.html?t=1725931450",
            "img_url": "https://img3m2.ddimg.cn/43/16/29684302-1_h_1718343591.jpg",
            "product_name": "少年诗词游(15册，绘本+读本+音频）经典少年游诗词曲系列，叶嘉莹先生读诵、吟诵。走进诗词的创作情境，学习古诗词的有效路径",
            "original_price": "399.00",
            "sale_price": "359.10",
            "spuId": "0",
            "skuId": "29684302",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29726615",
            "link_url": "http://product.m.dangdang.com/29726615.html?t=1725931450",
            "img_url": "https://img3m5.ddimg.cn/83/1/29726615-1_h_1725508706.jpg",
            "product_name": "在夏天里（印绘签，献给在夏天里朝我走来的炙热耀眼的你！首刷限定透光藏字卡1张，另赠贺卡1张、“夏日”明信片3张、“树叶”书签1张）",
            "original_price": "68.00",
            "sale_price": "68",
            "spuId": "0",
            "skuId": "29726615",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29711846",
            "link_url": "http://product.m.dangdang.com/29711846.html?t=1725931450",
            "img_url": "https://img3m6.ddimg.cn/65/32/29711846-1_h_1718343604.jpg",
            "product_name": "小猫鲍里斯和朋友们4~9岁（套装全8册）德国亚马逊5星畅销书，提高孩子语言表达能力，社交能力，自主思维能力",
            "original_price": "200.00",
            "sale_price": "200",
            "spuId": "12100017385",
            "skuId": "29711846",
            "is_catalog_product": "",
            "main_product_id": "12100017385",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29697254",
            "link_url": "http://product.m.dangdang.com/29697254.html?t=1725931450",
            "img_url": "https://img3m4.ddimg.cn/26/18/29697254-1_h_1710143686.jpg",
            "product_name": "我偏爱这人间荒芜【当当定制金句小卡】祝你逃出苦难向春山 顾桥生诗集",
            "original_price": "42.00",
            "sale_price": "27.80",
            "spuId": "0",
            "skuId": "29697254",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "16.80",
            "product_tags": []
        },
        {
            "product_id": "29715046",
            "link_url": "http://product.m.dangdang.com/29715046.html?t=1725931450",
            "img_url": "https://img3m6.ddimg.cn/97/13/29715046-1_h_1714973616.jpg",
            "product_name": "警长达克比 6-11（套装共6册）孩子喜欢的侦探动物科普故事 【赠送飞船便笺+迷宫海报】和达克比去动物王国探案吧",
            "original_price": "238.80",
            "sale_price": "238.80",
            "spuId": "12100016569",
            "skuId": "29715046",
            "is_catalog_product": "",
            "main_product_id": "12100016569",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29659914",
            "link_url": "http://product.m.dangdang.com/29659914.html?t=1725931450",
            "img_url": "https://img3m4.ddimg.cn/9/11/29659914-1_h_1706773901.jpg",
            "product_name": "半小时漫画红楼梦1-2 全2册（专治没耐心读红楼梦！赠人物关系海报）混子哥新作 半小时漫画文库",
            "original_price": "119.80",
            "sale_price": "119.80",
            "spuId": "0",
            "skuId": "29659914",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29635027",
            "link_url": "http://product.m.dangdang.com/29635027.html?t=1725931450",
            "img_url": "https://img3m7.ddimg.cn/70/25/29635027-1_h_1697704588.jpg",
            "product_name": "朱迅亲签 我的艺术清单（朱迅与王蒙冯骥才梁晓声李敬泽李谷一郎朗邓亚萍王佩瑜等42位名家深度畅谈）",
            "original_price": "118.00",
            "sale_price": "118",
            "spuId": "0",
            "skuId": "29635027",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29669033",
            "link_url": "http://product.m.dangdang.com/29669033.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/20/28/29669033-1_h_1708224092.jpg",
            "product_name": "今夜无神 季南一 原名《我说今夜无神 于是众神陨落》 百万收藏的惊悚悬疑，反转无数无限流小说",
            "original_price": "52.00",
            "sale_price": "52",
            "spuId": "0",
            "skuId": "29669033",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29663900",
            "link_url": "http://product.m.dangdang.com/29663900.html?t=1725931450",
            "img_url": "https://img3m0.ddimg.cn/35/1/29663900-1_h_1715668350.jpg",
            "product_name": "论语译注（精装注音版）全本全注全译 金良年先生权威解读 中小学国学经典，无障碍读懂论语",
            "original_price": "49.00",
            "sale_price": "24.50",
            "spuId": "0",
            "skuId": "29663900",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29304275",
            "link_url": "http://product.m.dangdang.com/29304275.html?t=1725931450",
            "img_url": "https://img3m5.ddimg.cn/77/16/29304275-1_h_4.jpg",
            "product_name": "阿米巴经营——畅销十周年纪念版，当当专享",
            "original_price": "49.00",
            "sale_price": "46.20",
            "spuId": "",
            "skuId": "29304275",
            "is_catalog_product": "",
            "main_product_id": "",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        }
    ]
    //独家特供2
    var date4 = [
        {
            "product_id": "29713111",
            "link_url": "http://product.m.dangdang.com/29713111.html?t=1725931450",
            "img_url": "https://img3m1.ddimg.cn/43/2/29713111-1_h_1714985272.jpg",
            "product_name": "猛虎下山(当当专享签名本)",
            "original_price": "58.00",
            "sale_price": "35",
            "spuId": "12100016464",
            "skuId": "29713111",
            "is_catalog_product": "",
            "main_product_id": "12100016464",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "35.00",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29732548",
            "link_url": "http://product.m.dangdang.com/29732548.html?t=1725931450",
            "img_url": "https://img3m8.ddimg.cn/76/14/29732548-1_h_1720145669.jpg",
            "product_name": "做家务真有趣（礼盒，含三册12开图书、纯棉材质儿童围裙、家务打卡手册、劳动奖状。锻炼动手能力，培养良好习惯，掌握实用技能！）",
            "original_price": "168.00",
            "sale_price": "59",
            "spuId": "12100018181",
            "skuId": "29732548",
            "is_catalog_product": "",
            "main_product_id": "12100018181",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "410334994",
            "link_url": "http://product.m.dangdang.com/410334994.html?t=1725931450",
            "img_url": "https://img3m4.ddimg.cn/91/36/410334994-1_h_1724983590.jpg",
            "product_name": "儿童阅读力分级读物（套装共6册）",
            "original_price": "496.00",
            "sale_price": "248",
            "spuId": "12100018440",
            "skuId": "410334994",
            "is_catalog_product": "",
            "main_product_id": "12100018440",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29632461",
            "link_url": "http://product.m.dangdang.com/29632461.html?t=1725931450",
            "img_url": "https://img3m1.ddimg.cn/78/12/29632461-1_h_1696935123.jpg",
            "product_name": "写给地球人的《三体》说明书(当当专享签章）",
            "original_price": "128.00",
            "sale_price": "121.60",
            "spuId": "12100006490",
            "skuId": "29632461",
            "is_catalog_product": "",
            "main_product_id": "12100006490",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29718793",
            "link_url": "http://product.m.dangdang.com/29718793.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/82/23/29718793-1_h_1714973608.jpg",
            "product_name": "神奇动物有话说（10本）",
            "original_price": "228.00",
            "sale_price": "228",
            "spuId": "0",
            "skuId": "29718793",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29595237",
            "link_url": "http://product.m.dangdang.com/29595237.html?t=1725931450",
            "img_url": "https://img3m7.ddimg.cn/78/10/29595237-1_h_1688722234.jpg",
            "product_name": "爱与自由——父母必修的16堂课",
            "original_price": "68.00",
            "sale_price": "68",
            "spuId": "0",
            "skuId": "29595237",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29633939",
            "link_url": "http://product.m.dangdang.com/29633939.html?t=1725931450",
            "img_url": "https://img3m9.ddimg.cn/71/10/29633939-1_h_1697615041.jpg",
            "product_name": "宝贵的人生建议：凯文·凯利全新作品（当当专享签名版）",
            "original_price": "69.00",
            "sale_price": "49",
            "spuId": "12100011966",
            "skuId": "29633939",
            "is_catalog_product": "",
            "main_product_id": "12100011966",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29598932",
            "link_url": "http://product.m.dangdang.com/29598932.html?t=1725931450",
            "img_url": "https://img3m2.ddimg.cn/11/5/29598932-1_h_1725863417.jpg",
            "product_name": "【当当专供印签版】呼吸，为了疗愈：全新的呼吸科学与医学，透过清醒的呼吸，彻底转化身心",
            "original_price": "99.00",
            "sale_price": "78.20",
            "spuId": "0",
            "skuId": "29598932",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29761245",
            "link_url": "http://product.m.dangdang.com/29761245.html?t=1725931450",
            "img_url": "https://img3m5.ddimg.cn/63/36/29761245-1_h_1722834720.jpg",
            "product_name": "如花在野 温柔热烈（限量签名版+专属明信片。读书博主赵健诚意之作！写尽中国女性生生不息的坚韧与美好，愿每个人都能活得自由而舒展。）",
            "original_price": "59.90",
            "sale_price": "29.95",
            "spuId": "12100018361",
            "skuId": "29761245",
            "is_catalog_product": "",
            "main_product_id": "12100018361",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "10.99",
            "product_tags": []
        },
        {
            "product_id": "1901353779",
            "link_url": "http://product.m.dangdang.com/1901353779.html?t=1725931450",
            "img_url": "https://img3m9.ddimg.cn/72/36/1901353779-1_h_1720064714.jpg",
            "product_name": "思想点亮心灵",
            "original_price": "68.00",
            "sale_price": "68",
            "spuId": "0",
            "skuId": "1901353779",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        }
    ]
    //主播推荐1
    var date5 = [
        {
            "product_id": "29716223",
            "link_url": "http://product.m.dangdang.com/29716223.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/86/6/29716223-1_h_1715856345.jpg",
            "product_name": "生意的本质：商业模式动态升级的底层逻辑",
            "original_price": "139.00",
            "sale_price": "88",
            "spuId": "0",
            "skuId": "29716223",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "90.00",
            "product_tags": []
        },
        {
            "product_id": "29690687",
            "link_url": "http://product.m.dangdang.com/29690687.html?t=1725931450",
            "img_url": "https://img3m7.ddimg.cn/92/0/29690687-1_h_1709781693.jpg",
            "product_name": "中国军事科普绘本海陆空合集（全9册，全新升级）",
            "original_price": "441.00",
            "sale_price": "441",
            "spuId": "12100015741",
            "skuId": "29690687",
            "is_catalog_product": "",
            "main_product_id": "12100015741",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29714617",
            "link_url": "http://product.m.dangdang.com/29714617.html?t=1725931450",
            "img_url": "https://img3m7.ddimg.cn/64/28/29714617-1_h_1715322835.jpg",
            "product_name": "活出你想要的亲密关系（当当亲签+明信片，华语世界深具影响力个人成长作家张德芬亲密关系修行修心集大成之作 ）",
            "original_price": "58.00",
            "sale_price": "55.10",
            "spuId": "0",
            "skuId": "29714617",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29693308",
            "link_url": "http://product.m.dangdang.com/29693308.html?t=1725931450",
            "img_url": "https://img3m8.ddimg.cn/40/31/29693308-1_h_1715748354.jpg",
            "product_name": "陪孩子读古诗词精装礼盒（含8册精装图书、诗词手抄小札、小学生必背古诗词、诗词记录表、励志贴纸、精美书签、古风DIY小豆本）",
            "original_price": "540.00",
            "sale_price": "372.60",
            "spuId": "12100015700",
            "skuId": "29693308",
            "is_catalog_product": "",
            "main_product_id": "12100015700",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29474173",
            "link_url": "http://product.m.dangdang.com/29474173.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/91/10/29474173-1_h_12.jpg",
            "product_name": "真希望你也喜欢自己（销量超过140万册！房琪shou部图书作品，写给所有年轻人的成长通关秘籍！）",
            "original_price": "49.80",
            "sale_price": "37.30",
            "spuId": "12100010575",
            "skuId": "29474173",
            "is_catalog_product": "",
            "main_product_id": "12100010575",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "49.80",
            "product_tags": []
        },
        {
            "product_id": "29631568",
            "link_url": "http://product.m.dangdang.com/29631568.html?t=1725931450",
            "img_url": "https://img3m8.ddimg.cn/76/7/29631568-1_h_1696748181.jpg",
            "product_name": "大先生：从孔子到柏拉图",
            "original_price": "56.00",
            "sale_price": "47.60",
            "spuId": "0",
            "skuId": "29631568",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29689623",
            "link_url": "http://product.m.dangdang.com/29689623.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/18/9/29689623-1_h_1717142735.jpg",
            "product_name": "心灵教科书绘本系列：猫的深夜澡堂+玉米粒姐姐的美发店+牛蒡医生的诊所+猫头鹰先生的图书馆（精装4册·5周年礼盒装；爆笑温馨治愈，缓解孩子洗澡、理发、就医压力，回归本真培养创意；丁虹绘本馆出品，海桐妈妈推荐",
            "original_price": "239.20",
            "sale_price": "239.20",
            "spuId": "12100015793",
            "skuId": "29689623",
            "is_catalog_product": "",
            "main_product_id": "12100015793",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "23922368",
            "link_url": "http://product.m.dangdang.com/23922368.html?t=1725931450",
            "img_url": "https://img3m8.ddimg.cn/8/18/23922368-1_h_1702967157.jpg",
            "product_name": "优秀的绵羊",
            "original_price": "42.00",
            "sale_price": "42",
            "spuId": "0",
            "skuId": "23922368",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "2.00",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29688023",
            "link_url": "http://product.m.dangdang.com/29688023.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/2/0/29688023-1_h_1720430465.jpg",
            "product_name": "正向陪伴儿童成长绘本（共22册）原版书全球畅销超过200万，“百班千人”幼儿阅读研究院院长孙莉莉、北师大儿童心理学教授李燕芳联袂推荐",
            "original_price": "434.00",
            "sale_price": "434",
            "spuId": "0",
            "skuId": "29688023",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29578864",
            "link_url": "http://product.m.dangdang.com/29578864.html?t=1725931450",
            "img_url": "https://img3m4.ddimg.cn/40/28/29578864-1_h_8.jpg",
            "product_name": "财之道丛书·经营十二条（盛和塾指定学习教材，稻盛和夫90岁收官之作！随机附赠稻盛演讲视频、精进笔记！）",
            "original_price": "68.00",
            "sale_price": "45",
            "spuId": "0",
            "skuId": "29578864",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "40.80",
            "product_tags": []
        }
    ]
    //主播推荐2
    var date6 = [
        {
            "product_id": "29733860",
            "link_url": "http://product.m.dangdang.com/29733860.html?t=1725931450",
            "img_url": "https://img3m0.ddimg.cn/2/31/29733860-1_h_1720759147.jpg",
            "product_name": "【函套版+赠图腾卡片】冰与火之歌精装函套版（全套5册）",
            "original_price": "900.00",
            "sale_price": "478",
            "spuId": "0",
            "skuId": "29733860",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "bd_promo_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "限时抢",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29702242",
            "link_url": "http://product.m.dangdang.com/29702242.html?t=1725931450",
            "img_url": "https://img3m2.ddimg.cn/64/11/29702242-1_h_1714286531.jpg",
            "product_name": "王一梅月亮河童话礼盒装（含11册童话故事及1册笔记本）附赠20节精品写作课，4张写作法宝卡片，5张书签！全彩注音，配精美插图，帮助6—8岁的孩子爱上阅读，轻松实现自主阅读。",
            "original_price": "322.00",
            "sale_price": "289.80",
            "spuId": "12100018831",
            "skuId": "29702242",
            "is_catalog_product": "",
            "main_product_id": "12100018831",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "24175371",
            "link_url": "http://product.m.dangdang.com/24175371.html?t=1725931450",
            "img_url": "https://img3m1.ddimg.cn/66/15/24175371-1_h_1724657980.jpg",
            "product_name": "作家榜名著：月亮与六便士（162万+读者高分推荐版！好评率高达99%！连续8年高居畅销榜！毛姆小说代表作！写给每个迷茫的人！）",
            "original_price": "39.80",
            "sale_price": "39.80",
            "spuId": "12100017849",
            "skuId": "24175371",
            "is_catalog_product": "",
            "main_product_id": "12100017849",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "3.99",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29717933",
            "link_url": "http://product.m.dangdang.com/29717933.html?t=1725931450",
            "img_url": "https://img3m3.ddimg.cn/14/14/29717933-1_h_1717131830.jpg",
            "product_name": "物理超简单  寄语印签（北大学霸、自主学习力研究专家刘威领衔，让孩子一看就懂、一学就会的物理入门指南！）",
            "original_price": "59.80",
            "sale_price": "39.90",
            "spuId": "0",
            "skuId": "29717933",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "59.80",
            "product_tags": []
        },
        {
            "product_id": "29295452",
            "link_url": "http://product.m.dangdang.com/29295452.html?t=1725931450",
            "img_url": "https://img3m2.ddimg.cn/65/36/29295452-1_h_1725004767.jpg",
            "product_name": "我的阿勒泰（马伊琍、周依然、于适、蒋奇明主演的同名电视剧）新疆风光 马伊琍周依然于适主演央视热播收视登顶 李娟阿勒泰畅销代表作",
            "original_price": "45.00",
            "sale_price": "27",
            "spuId": "12100017448",
            "skuId": "29295452",
            "is_catalog_product": "",
            "main_product_id": "12100017448",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29402875",
            "link_url": "http://product.m.dangdang.com/29402875.html?t=1725931450",
            "img_url": "https://img3m5.ddimg.cn/73/11/29402875-1_h_1699321092.jpg",
            "product_name": "幻象文库银河边缘时空画师（雨果奖最佳短中篇小说奖第81届2023年）",
            "original_price": "48.00",
            "sale_price": "45.60",
            "spuId": "12100012066",
            "skuId": "29402875",
            "is_catalog_product": "",
            "main_product_id": "12100012066",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "29651536",
            "link_url": "http://product.m.dangdang.com/29651536.html?t=1725931450",
            "img_url": "https://img3m6.ddimg.cn/46/32/29651536-1_h_1700097606.jpg",
            "product_name": "职场胜任力：职场的关键3年这样做",
            "original_price": "59.80",
            "sale_price": "47.20",
            "spuId": "0",
            "skuId": "29651536",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "35.90",
            "product_tags": []
        },
        {
            "product_id": "29618356",
            "link_url": "http://product.m.dangdang.com/29618356.html?t=1725931450",
            "img_url": "https://img3m6.ddimg.cn/31/4/29618356-1_h_1695635054.jpg",
            "product_name": "新民说·宋神宗与王安石：变法时代 精装上下册（“中国好书”得主吴钩重磅新作！国困民穷，外敌窥伺，出路何在？看千年前大宋追梦CP如何引爆北宋改革！）",
            "original_price": "198.00",
            "sale_price": "156.40",
            "spuId": "0",
            "skuId": "29618356",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        },
        {
            "product_id": "29679106",
            "link_url": "http://product.m.dangdang.com/29679106.html?t=1725931450",
            "img_url": "https://img3m6.ddimg.cn/94/0/29679106-1_h_1706659139.jpg",
            "product_name": "中国传统文化启蒙大书",
            "original_price": "150.00",
            "sale_price": "135",
            "spuId": "0",
            "skuId": "29679106",
            "is_catalog_product": "",
            "main_product_id": "0",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": [
                {
                    "name": "每满100-50",
                    "type": "1"
                }
            ]
        },
        {
            "product_id": "1901327809",
            "link_url": "http://product.m.dangdang.com/1901327809.html?t=1725931450",
            "img_url": "https://img3m9.ddimg.cn/40/3/1901327809-1_h_1.jpg",
            "product_name": "官脉",
            "original_price": "30.00",
            "sale_price": "29.99",
            "spuId": "",
            "skuId": "1901327809",
            "is_catalog_product": "",
            "main_product_id": "",
            "show_price_name": "sale_price",
            "is_show_promo_label": "-1",
            "ebook_price": "",
            "product_tags": []
        }
    ]

    console.log(111, date1)
    console.log(222, date1[1].original_price.slice(date1[1].original_price.length - 3))
    var slide1 = document.querySelectorAll('.swiper-container2 .swiper-slide')
    var slide2 = document.querySelectorAll('.swiper-container3 .swiper-slide')
    var slide3 = document.querySelectorAll('.swiper-container4 .swiper-slide')
    var slide4 = document.querySelectorAll('.swiper-container5 .swiper-slide')
    var slide5 = document.querySelectorAll('.swiper-container6 .swiper-slide')
    var slide6 = document.querySelectorAll('.swiper-container7 .swiper-slide')
    var slideAll = [slide1, slide2, slide3, slide4, slide5, slide6]
    var dateAll = [date1, date2, date3, date4, date5, date6]

    slideAll.forEach(function (item1, index1) {
        item1.forEach(function (item2, index2) {
            item2.innerHTML = `
                <img src="${dateAll[index1][index2].img_url}" alt="">
                <div>
                    <p>
                        ${dateAll[index1][index2].product_name}
                    </p>
                    <p>
                        <span>￥</span>
                        <span>${dateAll[index1][index2].original_price.slice(0, dateAll[index1][index2].original_price.length - 3)}</span>
                        <span>${dateAll[index1][index2].original_price.slice(dateAll[index1][index2].original_price.length - 3)}</span>
                        <span ${dateAll[index1][index2].product_tags == '' ? 'style="display: none;"' : ''}>
                            ${dateAll[index1][index2].product_tags != '' ? `${dateAll[index1][index2].product_tags[0].name}` : ''}
                        </span>
                    </p >
                    <p ${dateAll[index1][index2].ebook_price == '' ? 'style="display: none;"' : ''}>
                        <span>电子书版</span>
                        <span>
                            ￥${dateAll[index1][index2].ebook_price != '' ? `${dateAll[index1][index2].ebook_price}` : ''}
                        </span>
                    </p>
                </div >
            `
        })
    })
</script>

<!-- 文字列表选中变红 -->
<script>
    var span = document.querySelectorAll('.swiper-container8 span')
    console.log(span)
    span.forEach(function (item) {
        item.onclick = function () {
            for (var i = 0; i < span.length; i++) {
                span[i].classList.remove('select')
            }
            event.target.classList.add('select')
        }
    })
</script>

</html>